import {postData} from "./http";

export const getAllOrderCommentsByPage = (currentPage,size,data) => postData(`/orderComment/getAllOrderCommentsByPage?currentPage=${currentPage}&size=${size}`, data);

export const changeOrderCommentById = (data) => postData(`/orderComment/changeOrderCommentById`, data);

export const adminAddOrderComment = (data) => postData(`/orderComment/adminAddOrderComment`, data);

export const selectCommentById = (data) =>postData(`/orderComment/selectCommentById`, data);

export const deleteOrderCommentById =(data) =>postData(`/orderComment/deleteOrderCommentById`, data);
